package io.finer.erp.jeecg.stock.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 提货单详情
 * @Author: jeecg-boot
 * @Date:   2020-11-10
 * @Version: V1.0
 */
@ApiModel(value="stk_pick_up_bill对象", description="提货单")
@Data
@TableName("stk_pick_up_entry")
public class StkPickUpEntry implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
	@ApiModelProperty(value = "主键")
	private java.lang.String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private java.util.Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private java.util.Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private java.lang.String sysOrgCode;
	/**提货单ID*/
	@ApiModelProperty(value = "提货单ID")
	@Dict(dictTable = "stk_pick_up_bill", dicText = "bill_no", dicCode = "id")
	private java.lang.String billId;
	/**物料*/
	@Excel(name = "物料", width = 15, dictTable = "bas_material_category", dicText = "name", dicCode = "id")
	@Dict(dictTable = "bas_material_category", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "物料")
	private java.lang.String materialId;
	/**物料编码*/
	@Excel(name = "物料编码", width = 15)
	@ApiModelProperty(value = "物料编码")
	private java.lang.String materialCode;
	/**仓库*/
	@Excel(name = "仓库", width = 15, dictTable = "bas_warehouse", dicText = "name", dicCode = "id")
	@Dict(dictTable = "bas_warehouse", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "仓库")
	private java.lang.String warehouseId;
	/**是否出库*/
	@Excel(name = "是否出库", width = 15, dicCode = "yn")
	@ApiModelProperty(value = "是否出库")
	@Dict(dicCode = "yn")
	private java.lang.String isOut;
	/**长*/
	@Excel(name = "长", width = 15)
	@ApiModelProperty(value = "长")
	private java.math.BigDecimal length;
	/**宽*/
	@Excel(name = "宽", width = 15)
	@ApiModelProperty(value = "宽")
	private java.math.BigDecimal width;
	/**数量*/
	@Excel(name = "数量", width = 15)
	@ApiModelProperty(value = "数量")
	private java.math.BigDecimal number;
	/**单位*/
	@Excel(name = "单位", width = 15, dictTable = "bas_measure_unit", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "单位")
	@Dict(dictTable = "bas_measure_unit", dicText = "name", dicCode = "id")
	private java.lang.String unitId;
	/**分类*/
	@Excel(name = "分类", width = 15, dictTable = "bas_measure_unit", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "分类")
	@Dict(dictTable = "bas_material_category", dicText = "code", dicCode = "id")
	private java.lang.String categoryId;
	
	/**规格*/
	@ApiModelProperty(value = "规格")
	private java.lang.String model;
	/**备注*/
	@ApiModelProperty(value = "备注")
	private java.lang.String remark;
	/**分类名称*/
	@TableField(exist = false)    
	private java.lang.String categoryName;
}
